package cn.zzszxyy.hr.model;

import javax.persistence.*;

/**
 * 作者:张伟
 * <p>
 * 联系:adamzzww@163.com
 * 时间:2016-11-28
 * 说明:雇员信息
 */
@Entity
@Table(name = "Employee")
public class EmployeeEntity extends ModelEx {

    private Integer employeeId;
    private String employeeName;
    private String employeeSn;
    private String birthDay;
    private Integer birthYear;
    private Integer birthMonth;
    private Integer birthDayTime;
    private String sex;
    private String phone;
    private String avatar;
    private String identityCard;
    private String nativePlace;
    private String messageAddress;
    private Integer curDept;
    private Integer curTitle;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getEmployeeSn() {
        return employeeSn;
    }

    public void setEmployeeSn(String employeeSn) {
        this.employeeSn = employeeSn;
    }

    public String getBirthDay() {
        return birthDay;
    }

    public void setBirthDay(String birthDay) {
        this.birthDay = birthDay;
    }

    public Integer getBirthYear() {
        return birthYear;
    }

    public void setBirthYear(Integer birthYear) {
        this.birthYear = birthYear;
    }

    public Integer getBirthMonth() {
        return birthMonth;
    }

    public void setBirthMonth(Integer birthMonth) {
        this.birthMonth = birthMonth;
    }

    public Integer getBirthDayTime() {
        return birthDayTime;
    }

    public void setBirthDayTime(Integer birthDayTime) {
        this.birthDayTime = birthDayTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getNativePlace() {
        return nativePlace;
    }

    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }

    public String getMessageAddress() {
        return messageAddress;
    }

    public void setMessageAddress(String messageAddress) {
        this.messageAddress = messageAddress;
    }

    public Integer getCurDept() {
        return curDept;
    }

    public void setCurDept(Integer curDept) {
        this.curDept = curDept;
    }

    public Integer getCurTitle() {
        return curTitle;
    }

    public void setCurTitle(Integer curTitle) {
        this.curTitle = curTitle;
    }
}
